package com.wecheir.entity;


import java.math.BigDecimal;

public class User {

    /**
     * 用户id
     */
    String id;

    /**
     * 登录名称
     */
    String login_name;
    /**
     * 昵称
     */
    String nick_name;
    /**
     * 头像地址
     */
    String icon;

    /**
     * 登录密码
     */
    String password;

    /**
     * shiro加密盐
     */
    String salt;

    /**
     * 请求身份
     */
    String identity;

    /**
     * 请求地点
     */
    String request_place;
    /**
     * 手机号码
     */
    String tel;

    /**
     * 邮箱地址
     */
    String email;

    String age;
    /**
     * 账户是否锁定
     */
    Integer locked;


    /**
     * 账户是否后台用户
     */
    Integer is_admin;

    /**
     * 用户信誉积分
     */
    Double credit;

    String remark;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    private User() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public String getNick_name() {
        return nick_name;
    }

    public void setNick_name(String nick_name) {
        this.nick_name = nick_name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getRequest_place() {
        return request_place;
    }

    public void setRequest_place(String request_place) {
        this.request_place = request_place;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Integer getLocked() {
        return locked;
    }

    public void setLocked(Integer locked) {
        this.locked = locked;
    }


    public Integer getIs_admin() {
        return is_admin;
    }

    public void setIs_admin(Integer is_admin) {
        this.is_admin = is_admin;
    }

    public Double getCredit() {
        return credit;
    }

    public void setCredit(Double credit) {
        this.credit = credit;
    }


    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", login_name='" + login_name + '\'' +
                ", nick_name='" + nick_name + '\'' +
                ", icon='" + icon + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", identity='" + identity + '\'' +
                ", request_place='" + request_place + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", age='" + age + '\'' +
                ", locked=" + locked +
                ", is_admin=" + is_admin +
                ", credit=" + credit +
                '}';
    }
}
